import { SceneMgr } from "../SceneMgr";

export class MWorkSavePage {

    private static _ins: MWorkSavePage;
    static get Ins(): MWorkSavePage {
        return this._ins ||= new MWorkSavePage();
    }

    open(iconImg:Laya.Image, callback?:Laya.Handler){
        SceneMgr.open(SceneMgr.WorkSavePage, false, [iconImg,callback]);
    }

    close(){
        SceneMgr.close(SceneMgr.WorkSavePage);
    }
}